#ifndef MOTIONPATH_H
#define MOTIONPATH_H

#include <QObject>
#include <QList>
#include "common.h"

class MotionPath : public QObject
{
    Q_OBJECT
public:
    explicit MotionPath(QObject *parent = 0);
    void addPathNode(BaseNode* node);
    const QList<BaseNode*>& getMotionPath() const;
    const double& getWholeLength() const;
    const PathGeometry& getPathGeometry();
    void reset();

signals:

public slots:

private:
    double wholeLength;
    double blockNumber;
    QPointF currentPos;
    PathGeometry geo;
    QList<BaseNode*> pathNodes;
};

#endif // MOTIONPATH_H
